<%= link_to *[action[:custom_url], {title: action[:custom_title], remote: true, class: action[:name]}, action[:html_options]].compact do %>
  <i class="<%= action[:custom_icon] %>"></i>
<% end %>